package com.example.hystrix.annocation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DoHystrix {
	
	String returnJson() default "";         // 失败结果 JSON
	
	int timeoutValue() default 0;           // 超时熔断
	
}